<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
</head>
<body>
    <div id="info">{{ request.session.user.intro | safe }}</div>
    <a href="javascript:history.back()">返回</a>
    <script src="{% static 'js/jquery.min.js' %}"></script>
    <script>
        /*
        function unescapeHTML(html) {
            html = '' + html
            return html.replace(/&lt;/g, '<')
                .replace(/&gt;/g, '>')
                .replace(/&amp;/g, '&')
                .replace(/&quot;/g, '"')
                .replace(/&apos;/g, "'")
        }

        $(() => {
            $('#info').html(unescapeHTML('{{ intro }}'))
        })
        */
    </script>
</body>
</html>